﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace EquipmentModule.Entity
{
    public class Collector:BaseEntity
    {
        public string IP { get; set; }
        public int Port { get; set; }
        public string UserName { get; set; }
        public string Password { get; set; }
    }

    public class ModBusCollector:Collector
    {
    }
    public class MPICollector: Collector
    {
    }
    public class OPCCollector: Collector
    {
        //OPC服务器名称
        public string ServerName { get; set; }
        //COM口
        public string COM { get; set; }
        //波特率
        public string Baud { get; set; }
        public string ProtoType { get; set; }
        public string ProtoSpeed { get; set; }
        public string LocalMPI { get; set; }
        public string PLCMPI { get; set; }
    }
}
